class Topic < ApplicationRecord
  enum state: [:pending, :checked, :disagree]

  belongs_to :user
  belongs_to :province
  belongs_to :city
  belongs_to :district

  has_many :topic_pictures, dependent: :destroy

end
